[INFO] fetching crate pen 0.1.0...
[INFO] testing pen-0.1.0 against master#b70888601af92f6cdc0364abab3446e418b91d36 for pr-86479
[INFO] extracting crate pen 0.1.0 into /workspace/builds/worker-14/source
[INFO] validating manifest of crates.io crate pen 0.1.0 on toolchain b70888601af92f6cdc0364abab3446e418b91d36
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate pen 0.1.0
[INFO] finished tweaking crates.io crate pen 0.1.0
[INFO] tweaked toml for crates.io crate pen 0.1.0 written to /workspace/builds/worker-14/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 51db92f305e89e8a075091d37da0fd1cc5cdb3a6734de876f1cc20b7c7251711
[INFO] running `Command { std: "docker" "start" "-a" "51db92f305e89e8a075091d37da0fd1cc5cdb3a6734de876f1cc20b7c7251711", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "51db92f305e89e8a075091d37da0fd1cc5cdb3a6734de876f1cc20b7c7251711", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "51db92f305e89e8a075091d37da0fd1cc5cdb3a6734de876f1cc20b7c7251711", kill_on_drop: false }`
[INFO] [stdout] 51db92f305e89e8a075091d37da0fd1cc5cdb3a6734de876f1cc20b7c7251711
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] a718a2a823472c25757b45aa9c3dd01b805f37c3e43437856275b1e7da6a750f
[INFO] running `Command { std: "docker" "start" "-a" "a718a2a823472c25757b45aa9c3dd01b805f37c3e43437856275b1e7da6a750f", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.98
[INFO] [stderr]    Compiling autocfg v0.1.7
[INFO] [stderr]    Compiling rand_core v0.4.2
[INFO] [stderr]    Compiling version_check v0.1.5
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.28
[INFO] [stderr]    Compiling encoding_index_tests v0.1.4
[INFO] [stderr]    Compiling siphasher v0.2.3
[INFO] [stderr]    Compiling tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.74
[INFO] [stderr]    Compiling matches v0.1.8
[INFO] [stderr]    Compiling httparse v1.4.1
[INFO] [stderr]    Compiling serde v1.0.127
[INFO] [stderr]    Compiling serde_derive v1.0.127
[INFO] [stderr]    Compiling memchr v2.4.0
[INFO] [stderr]    Compiling safemem v0.3.3
[INFO] [stderr]    Compiling percent-encoding v1.0.1
[INFO] [stderr]    Compiling futures v0.1.31
[INFO] [stderr]    Compiling typeable v0.1.2
[INFO] [stderr]    Compiling remove_dir_all v0.5.3
[INFO] [stderr]    Compiling language-tags v0.2.2
[INFO] [stderr]    Compiling ucd-util v0.1.8
[INFO] [stderr]    Compiling regex v0.2.11
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling utf8-ranges v1.0.4
[INFO] [stderr]    Compiling mime v0.3.16
[INFO] [stderr]    Compiling lazycell v0.5.1
[INFO] [stderr]    Compiling unicode-bidi v0.3.5
[INFO] [stderr]    Compiling tinyvec v1.3.1
[INFO] [stderr]    Compiling encoding-index-tradchinese v1.20141219.5
[INFO] [stderr]    Compiling encoding-index-singlebyte v1.20141219.5
[INFO] [stderr]    Compiling encoding-index-simpchinese v1.20141219.5
[INFO] [stderr]    Compiling encoding-index-japanese v1.20141219.5
[INFO] [stderr]    Compiling encoding-index-korean v1.20141219.5
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling rand_jitter v0.1.4
[INFO] [stderr]    Compiling base64 v0.9.3
[INFO] [stderr]    Compiling base64 v0.10.1
[INFO] [stderr]    Compiling thread_local v0.3.6
[INFO] [stderr]    Compiling regex-syntax v0.5.6
[INFO] [stderr]    Compiling unicase v1.4.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling encoding v0.2.33
[INFO] [stderr]    Compiling log v0.3.9
[INFO] [stderr]    Compiling mime v0.2.6
[INFO] [stderr]    Compiling phf_shared v0.7.24
[INFO] [stderr]    Compiling unicode-normalization v0.1.19
[INFO] [stderr]    Compiling phf v0.7.24
[INFO] [stderr]    Compiling aho-corasick v0.6.10
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling time v0.1.44
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling bytes v0.4.12
[INFO] [stderr]    Compiling tokio-io v0.1.13
[INFO] [stderr]    Compiling tempdir v0.3.7
[INFO] [stderr]    Compiling idna v0.1.5
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]    Compiling buf-read-ext v0.3.0
[INFO] [stderr]    Compiling phf_generator v0.7.24
[INFO] [stderr]    Compiling phf_codegen v0.7.24
[INFO] [stderr]    Compiling url v1.7.2
[INFO] [stderr]    Compiling mime_guess v1.8.8
[INFO] [stderr]    Compiling hyper v0.10.16
[INFO] [stderr]    Compiling textnonce v0.6.5
[INFO] [stderr]    Compiling mime_multipart v0.5.2
[INFO] [stderr]    Compiling formdata v0.12.3
[INFO] [stderr]    Compiling pen v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unknown lint: `ptr_arg`
[INFO] [stdout]   --> src/datastructures.rs:83:17
[INFO] [stdout]    |
[INFO] [stdout] 83 |         #[allow(ptr_arg)]
[INFO] [stdout]    |                 ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unknown_lints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unknown lint: `ptr_arg`
[INFO] [stdout]   --> src/datastructures.rs:83:17
[INFO] [stdout]    |
[INFO] [stdout] 83 |         #[allow(ptr_arg)]
[INFO] [stdout]    |                 ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/wrappers.rs:45:56
[INFO] [stdout]    |
[INFO] [stdout] 45 |     body: RefCell<HttpReader<&'a mut BufReader<&'b mut NetworkStream>>>,
[INFO] [stdout]    |                                                        ^^^^^^^^^^^^^ help: use `dyn`: `dyn NetworkStream`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/wrappers.rs:228:33
[INFO] [stdout]     |
[INFO] [stdout] 228 | pub struct ResponseBody<'a>(Box<Write + 'a>);
[INFO] [stdout]     |                                 ^^^^^^^^^^ help: use `dyn`: `dyn Write + 'a`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/wrappers.rs:289:26
[INFO] [stdout]     |
[INFO] [stdout] 289 |     pub body: Option<Box<BodyWrite>>,
[INFO] [stdout]     |                          ^^^^^^^^^ help: use `dyn`: `dyn BodyWrite`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/types.rs:75:32
[INFO] [stdout]    |
[INFO] [stdout] 75 |     fn cause(&self) -> Option<&error::Error> {
[INFO] [stdout]    |                                ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/types.rs:77:53
[INFO] [stdout]    |
[INFO] [stdout] 77 |             PenHTTPError(ref err) => Some(&*err as &error::Error),
[INFO] [stdout]    |                                                     ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/types.rs:88:29
[INFO] [stdout]    |
[INFO] [stdout] 88 | pub type HTTPErrorHandler = Fn(HTTPError) -> PenResult + Send + Sync;
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(HTTPError) -> PenResult + Send + Sync`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/types.rs:89:29
[INFO] [stdout]    |
[INFO] [stdout] 89 | pub type UserErrorHandler = Fn(UserError) -> PenResult + Send + Sync;
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(UserError) -> PenResult + Send + Sync`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/types.rs:91:30
[INFO] [stdout]    |
[INFO] [stdout] 91 | pub type BeforeRequestFunc = Fn(&mut Request) -> Option<PenResult> + Send + Sync;
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut Request) -> Option<PenResult> + Send + Sync`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/types.rs:92:29
[INFO] [stdout]    |
[INFO] [stdout] 92 | pub type AfterRequestFunc = Fn(&Request, &mut Response) + Send + Sync;
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Request, &mut Response) + Send + Sync`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/types.rs:94:32
[INFO] [stdout]    |
[INFO] [stdout] 94 | pub type TeardownRequestFunc = Fn(Option<&PenError>) + Send + Sync;
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Option<&PenError>) + Send + Sync`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::str::<impl str>::trim_left_matches`: superseded by `trim_start_matches`
[INFO] [stdout]    --> src/wrappers.rs:208:44
[INFO] [stdout]     |
[INFO] [stdout] 208 |         self.host_url() + self.full_path().trim_left_matches('/')
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::str::<impl str>::trim_left_matches`: superseded by `trim_start_matches`
[INFO] [stdout]    --> src/wrappers.rs:212:39
[INFO] [stdout]     |
[INFO] [stdout] 212 |         self.host_url() + self.path().trim_left_matches('/')
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::str::<impl str>::trim_right_matches`: superseded by `trim_end_matches`
[INFO] [stdout]    --> src/routing.rs:106:54
[INFO] [stdout]     |
[INFO] [stdout] 106 |         for (converter, variable) in parse_rule(rule.trim_right_matches('/')) {
[INFO] [stdout]     |                                                      ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::str::<impl str>::trim_left_matches`: superseded by `trim_start_matches`
[INFO] [stdout]    --> src/routing.rs:272:39
[INFO] [stdout]     |
[INFO] [stdout] 272 |         let redirect_path = self.path.trim_left_matches('/').to_owned() + "/";
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/helpers.rs:74:93
[INFO] [stdout]    |
[INFO] [stdout] 74 |             return Err(UserError::new(format!("couldn't open {}: {}", filepath.display(), e.description())).into());
[INFO] [stdout]    |                                                                                             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/helpers.rs:108:93
[INFO] [stdout]     |
[INFO] [stdout] 108 |             return Err(UserError::new(format!("couldn't open {}: {}", filepath.display(), e.description())).into()),
[INFO] [stdout]     |                                                                                             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/app.rs:218:79
[INFO] [stdout]     |
[INFO] [stdout] 218 |         eprintln!("Error on {} [{}]: {}", request.path(), request.method(), e.description());
[INFO] [stdout]     |                                                                               ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/types.rs:61:54
[INFO] [stdout]    |
[INFO] [stdout] 61 |             PenHTTPError(ref err) => f.write_str(err.description()),
[INFO] [stdout]    |                                                      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/types.rs:62:54
[INFO] [stdout]    |
[INFO] [stdout] 62 |             PenUserError(ref err) => f.write_str(err.description()),
[INFO] [stdout]    |                                                      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/types.rs:70:42
[INFO] [stdout]    |
[INFO] [stdout] 70 |             PenHTTPError(ref err) => err.description(),
[INFO] [stdout]    |                                          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/types.rs:71:42
[INFO] [stdout]    |
[INFO] [stdout] 71 |             PenUserError(ref err) => err.description(),
[INFO] [stdout]    |                                          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 23 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1m 26s
[INFO] running `Command { std: "docker" "inspect" "a718a2a823472c25757b45aa9c3dd01b805f37c3e43437856275b1e7da6a750f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a718a2a823472c25757b45aa9c3dd01b805f37c3e43437856275b1e7da6a750f", kill_on_drop: false }`
[INFO] [stdout] a718a2a823472c25757b45aa9c3dd01b805f37c3e43437856275b1e7da6a750f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ccdd844ba7a144eeb958090859ba41f798f94fba1e44616aca3a9a94ca5252ee
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "ccdd844ba7a144eeb958090859ba41f798f94fba1e44616aca3a9a94ca5252ee", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling pen v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unknown lint: `ptr_arg`
[INFO] [stdout]   --> src/datastructures.rs:83:17
[INFO] [stdout]    |
[INFO] [stdout] 83 |         #[allow(ptr_arg)]
[INFO] [stdout]    |                 ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unknown_lints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unknown lint: `ptr_arg`
[INFO] [stdout]   --> src/datastructures.rs:83:17
[INFO] [stdout]    |
[INFO] [stdout] 83 |         #[allow(ptr_arg)]
[INFO] [stdout]    |                 ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/wrappers.rs:45:56
[INFO] [stdout]    |
[INFO] [stdout] 45 |     body: RefCell<HttpReader<&'a mut BufReader<&'b mut NetworkStream>>>,
[INFO] [stdout]    |                                                        ^^^^^^^^^^^^^ help: use `dyn`: `dyn NetworkStream`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/wrappers.rs:228:33
[INFO] [stdout]     |
[INFO] [stdout] 228 | pub struct ResponseBody<'a>(Box<Write + 'a>);
[INFO] [stdout]     |                                 ^^^^^^^^^^ help: use `dyn`: `dyn Write + 'a`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/wrappers.rs:289:26
[INFO] [stdout]     |
[INFO] [stdout] 289 |     pub body: Option<Box<BodyWrite>>,
[INFO] [stdout]     |                          ^^^^^^^^^ help: use `dyn`: `dyn BodyWrite`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/types.rs:75:32
[INFO] [stdout]    |
[INFO] [stdout] 75 |     fn cause(&self) -> Option<&error::Error> {
[INFO] [stdout]    |                                ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/types.rs:77:53
[INFO] [stdout]    |
[INFO] [stdout] 77 |             PenHTTPError(ref err) => Some(&*err as &error::Error),
[INFO] [stdout]    |                                                     ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/types.rs:88:29
[INFO] [stdout]    |
[INFO] [stdout] 88 | pub type HTTPErrorHandler = Fn(HTTPError) -> PenResult + Send + Sync;
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(HTTPError) -> PenResult + Send + Sync`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/types.rs:89:29
[INFO] [stdout]    |
[INFO] [stdout] 89 | pub type UserErrorHandler = Fn(UserError) -> PenResult + Send + Sync;
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(UserError) -> PenResult + Send + Sync`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/types.rs:91:30
[INFO] [stdout]    |
[INFO] [stdout] 91 | pub type BeforeRequestFunc = Fn(&mut Request) -> Option<PenResult> + Send + Sync;
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut Request) -> Option<PenResult> + Send + Sync`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/types.rs:92:29
[INFO] [stdout]    |
[INFO] [stdout] 92 | pub type AfterRequestFunc = Fn(&Request, &mut Response) + Send + Sync;
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Request, &mut Response) + Send + Sync`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/types.rs:94:32
[INFO] [stdout]    |
[INFO] [stdout] 94 | pub type TeardownRequestFunc = Fn(Option<&PenError>) + Send + Sync;
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Option<&PenError>) + Send + Sync`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::str::<impl str>::trim_left_matches`: superseded by `trim_start_matches`
[INFO] [stdout]    --> src/wrappers.rs:208:44
[INFO] [stdout]     |
[INFO] [stdout] 208 |         self.host_url() + self.full_path().trim_left_matches('/')
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::str::<impl str>::trim_left_matches`: superseded by `trim_start_matches`
[INFO] [stdout]    --> src/wrappers.rs:212:39
[INFO] [stdout]     |
[INFO] [stdout] 212 |         self.host_url() + self.path().trim_left_matches('/')
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::str::<impl str>::trim_right_matches`: superseded by `trim_end_matches`
[INFO] [stdout]    --> src/routing.rs:106:54
[INFO] [stdout]     |
[INFO] [stdout] 106 |         for (converter, variable) in parse_rule(rule.trim_right_matches('/')) {
[INFO] [stdout]     |                                                      ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::str::<impl str>::trim_left_matches`: superseded by `trim_start_matches`
[INFO] [stdout]    --> src/routing.rs:272:39
[INFO] [stdout]     |
[INFO] [stdout] 272 |         let redirect_path = self.path.trim_left_matches('/').to_owned() + "/";
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/helpers.rs:74:93
[INFO] [stdout]    |
[INFO] [stdout] 74 |             return Err(UserError::new(format!("couldn't open {}: {}", filepath.display(), e.description())).into());
[INFO] [stdout]    |                                                                                             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/helpers.rs:108:93
[INFO] [stdout]     |
[INFO] [stdout] 108 |             return Err(UserError::new(format!("couldn't open {}: {}", filepath.display(), e.description())).into()),
[INFO] [stdout]     |                                                                                             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/app.rs:218:79
[INFO] [stdout]     |
[INFO] [stdout] 218 |         eprintln!("Error on {} [{}]: {}", request.path(), request.method(), e.description());
[INFO] [stdout]     |                                                                               ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/types.rs:61:54
[INFO] [stdout]    |
[INFO] [stdout] 61 |             PenHTTPError(ref err) => f.write_str(err.description()),
[INFO] [stdout]    |                                                      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/types.rs:62:54
[INFO] [stdout]    |
[INFO] [stdout] 62 |             PenUserError(ref err) => f.write_str(err.description()),
[INFO] [stdout]    |                                                      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/types.rs:70:42
[INFO] [stdout]    |
[INFO] [stdout] 70 |             PenHTTPError(ref err) => err.description(),
[INFO] [stdout]    |                                          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/types.rs:71:42
[INFO] [stdout]    |
[INFO] [stdout] 71 |             PenUserError(ref err) => err.description(),
[INFO] [stdout]    |                                          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 23 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unknown lint: `ptr_arg`
[INFO] [stdout]   --> src/datastructures.rs:83:17
[INFO] [stdout]    |
[INFO] [stdout] 83 |         #[allow(ptr_arg)]
[INFO] [stdout]    |                 ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unknown_lints)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unknown lint: `ptr_arg`
[INFO] [stdout]   --> src/datastructures.rs:83:17
[INFO] [stdout]    |
[INFO] [stdout] 83 |         #[allow(ptr_arg)]
[INFO] [stdout]    |                 ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/wrappers.rs:45:56
[INFO] [stdout]    |
[INFO] [stdout] 45 |     body: RefCell<HttpReader<&'a mut BufReader<&'b mut NetworkStream>>>,
[INFO] [stdout]    |                                                        ^^^^^^^^^^^^^ help: use `dyn`: `dyn NetworkStream`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/wrappers.rs:228:33
[INFO] [stdout]     |
[INFO] [stdout] 228 | pub struct ResponseBody<'a>(Box<Write + 'a>);
[INFO] [stdout]     |                                 ^^^^^^^^^^ help: use `dyn`: `dyn Write + 'a`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/wrappers.rs:289:26
[INFO] [stdout]     |
[INFO] [stdout] 289 |     pub body: Option<Box<BodyWrite>>,
[INFO] [stdout]     |                          ^^^^^^^^^ help: use `dyn`: `dyn BodyWrite`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/types.rs:75:32
[INFO] [stdout]    |
[INFO] [stdout] 75 |     fn cause(&self) -> Option<&error::Error> {
[INFO] [stdout]    |                                ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/types.rs:77:53
[INFO] [stdout]    |
[INFO] [stdout] 77 |             PenHTTPError(ref err) => Some(&*err as &error::Error),
[INFO] [stdout]    |                                                     ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/types.rs:88:29
[INFO] [stdout]    |
[INFO] [stdout] 88 | pub type HTTPErrorHandler = Fn(HTTPError) -> PenResult + Send + Sync;
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(HTTPError) -> PenResult + Send + Sync`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/types.rs:89:29
[INFO] [stdout]    |
[INFO] [stdout] 89 | pub type UserErrorHandler = Fn(UserError) -> PenResult + Send + Sync;
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(UserError) -> PenResult + Send + Sync`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/types.rs:91:30
[INFO] [stdout]    |
[INFO] [stdout] 91 | pub type BeforeRequestFunc = Fn(&mut Request) -> Option<PenResult> + Send + Sync;
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut Request) -> Option<PenResult> + Send + Sync`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/types.rs:92:29
[INFO] [stdout]    |
[INFO] [stdout] 92 | pub type AfterRequestFunc = Fn(&Request, &mut Response) + Send + Sync;
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Request, &mut Response) + Send + Sync`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/types.rs:94:32
[INFO] [stdout]    |
[INFO] [stdout] 94 | pub type TeardownRequestFunc = Fn(Option<&PenError>) + Send + Sync;
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Option<&PenError>) + Send + Sync`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::str::<impl str>::trim_left_matches`: superseded by `trim_start_matches`
[INFO] [stdout]    --> src/wrappers.rs:208:44
[INFO] [stdout]     |
[INFO] [stdout] 208 |         self.host_url() + self.full_path().trim_left_matches('/')
[INFO] [stdout]     |                                            ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::str::<impl str>::trim_left_matches`: superseded by `trim_start_matches`
[INFO] [stdout]    --> src/wrappers.rs:212:39
[INFO] [stdout]     |
[INFO] [stdout] 212 |         self.host_url() + self.path().trim_left_matches('/')
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::str::<impl str>::trim_right_matches`: superseded by `trim_end_matches`
[INFO] [stdout]    --> src/routing.rs:106:54
[INFO] [stdout]     |
[INFO] [stdout] 106 |         for (converter, variable) in parse_rule(rule.trim_right_matches('/')) {
[INFO] [stdout]     |                                                      ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::str::<impl str>::trim_left_matches`: superseded by `trim_start_matches`
[INFO] [stdout]    --> src/routing.rs:272:39
[INFO] [stdout]     |
[INFO] [stdout] 272 |         let redirect_path = self.path.trim_left_matches('/').to_owned() + "/";
[INFO] [stdout]     |                                       ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/helpers.rs:74:93
[INFO] [stdout]    |
[INFO] [stdout] 74 |             return Err(UserError::new(format!("couldn't open {}: {}", filepath.display(), e.description())).into());
[INFO] [stdout]    |                                                                                             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/helpers.rs:108:93
[INFO] [stdout]     |
[INFO] [stdout] 108 |             return Err(UserError::new(format!("couldn't open {}: {}", filepath.display(), e.description())).into()),
[INFO] [stdout]     |                                                                                             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/app.rs:218:79
[INFO] [stdout]     |
[INFO] [stdout] 218 |         eprintln!("Error on {} [{}]: {}", request.path(), request.method(), e.description());
[INFO] [stdout]     |                                                                               ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/types.rs:61:54
[INFO] [stdout]    |
[INFO] [stdout] 61 |             PenHTTPError(ref err) => f.write_str(err.description()),
[INFO] [stdout]    |                                                      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/types.rs:62:54
[INFO] [stdout]    |
[INFO] [stdout] 62 |             PenUserError(ref err) => f.write_str(err.description()),
[INFO] [stdout]    |                                                      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/types.rs:70:42
[INFO] [stdout]    |
[INFO] [stdout] 70 |             PenHTTPError(ref err) => err.description(),
[INFO] [stdout]    |                                          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/types.rs:71:42
[INFO] [stdout]    |
[INFO] [stdout] 71 |             PenUserError(ref err) => err.description(),
[INFO] [stdout]    |                                          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 23 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 3.09s
[INFO] running `Command { std: "docker" "inspect" "ccdd844ba7a144eeb958090859ba41f798f94fba1e44616aca3a9a94ca5252ee", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ccdd844ba7a144eeb958090859ba41f798f94fba1e44616aca3a9a94ca5252ee", kill_on_drop: false }`
[INFO] [stdout] ccdd844ba7a144eeb958090859ba41f798f94fba1e44616aca3a9a94ca5252ee
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 3b77208e2d1243c39556a0bd20b13d1c073fb98738685f953bd1afd584464eec
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "3b77208e2d1243c39556a0bd20b13d1c073fb98738685f953bd1afd584464eec", kill_on_drop: false }`
[INFO] [stderr] warning: unknown lint: `ptr_arg`
[INFO] [stderr]   --> src/datastructures.rs:83:17
[INFO] [stderr]    |
[INFO] [stderr] 83 |         #[allow(ptr_arg)]
[INFO] [stderr]    |                 ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unknown_lints)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unknown lint: `ptr_arg`
[INFO] [stderr]   --> src/datastructures.rs:83:17
[INFO] [stderr]    |
[INFO] [stderr] 83 |         #[allow(ptr_arg)]
[INFO] [stderr]    |                 ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/wrappers.rs:45:56
[INFO] [stderr]    |
[INFO] [stderr] 45 |     body: RefCell<HttpReader<&'a mut BufReader<&'b mut NetworkStream>>>,
[INFO] [stderr]    |                                                        ^^^^^^^^^^^^^ help: use `dyn`: `dyn NetworkStream`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/wrappers.rs:228:33
[INFO] [stderr]     |
[INFO] [stderr] 228 | pub struct ResponseBody<'a>(Box<Write + 'a>);
[INFO] [stderr]     |                                 ^^^^^^^^^^ help: use `dyn`: `dyn Write + 'a`
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/wrappers.rs:289:26
[INFO] [stderr]     |
[INFO] [stderr] 289 |     pub body: Option<Box<BodyWrite>>,
[INFO] [stderr]     |                          ^^^^^^^^^ help: use `dyn`: `dyn BodyWrite`
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/types.rs:75:32
[INFO] [stderr]    |
[INFO] [stderr] 75 |     fn cause(&self) -> Option<&error::Error> {
[INFO] [stderr]    |                                ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error`
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/types.rs:77:53
[INFO] [stderr]    |
[INFO] [stderr] 77 |             PenHTTPError(ref err) => Some(&*err as &error::Error),
[INFO] [stderr]    |                                                     ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error`
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/types.rs:88:29
[INFO] [stderr]    |
[INFO] [stderr] 88 | pub type HTTPErrorHandler = Fn(HTTPError) -> PenResult + Send + Sync;
[INFO] [stderr]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(HTTPError) -> PenResult + Send + Sync`
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/types.rs:89:29
[INFO] [stderr]    |
[INFO] [stderr] 89 | pub type UserErrorHandler = Fn(UserError) -> PenResult + Send + Sync;
[INFO] [stderr]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(UserError) -> PenResult + Send + Sync`
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/types.rs:91:30
[INFO] [stderr]    |
[INFO] [stderr] 91 | pub type BeforeRequestFunc = Fn(&mut Request) -> Option<PenResult> + Send + Sync;
[INFO] [stderr]    |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut Request) -> Option<PenResult> + Send + Sync`
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/types.rs:92:29
[INFO] [stderr]    |
[INFO] [stderr] 92 | pub type AfterRequestFunc = Fn(&Request, &mut Response) + Send + Sync;
[INFO] [stderr]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&Request, &mut Response) + Send + Sync`
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/types.rs:94:32
[INFO] [stderr]    |
[INFO] [stderr] 94 | pub type TeardownRequestFunc = Fn(Option<&PenError>) + Send + Sync;
[INFO] [stderr]    |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Option<&PenError>) + Send + Sync`
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `core::str::<impl str>::trim_left_matches`: superseded by `trim_start_matches`
[INFO] [stderr]    --> src/wrappers.rs:208:44
[INFO] [stderr]     |
[INFO] [stderr] 208 |         self.host_url() + self.full_path().trim_left_matches('/')
[INFO] [stderr]     |                                            ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `core::str::<impl str>::trim_left_matches`: superseded by `trim_start_matches`
[INFO] [stderr]    --> src/wrappers.rs:212:39
[INFO] [stderr]     |
[INFO] [stderr] 212 |         self.host_url() + self.path().trim_left_matches('/')
[INFO] [stderr]     |                                       ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches`
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `core::str::<impl str>::trim_right_matches`: superseded by `trim_end_matches`
[INFO] [stderr]    --> src/routing.rs:106:54
[INFO] [stderr]     |
[INFO] [stderr] 106 |         for (converter, variable) in parse_rule(rule.trim_right_matches('/')) {
[INFO] [stderr]     |                                                      ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches`
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `core::str::<impl str>::trim_left_matches`: superseded by `trim_start_matches`
[INFO] [stderr]    --> src/routing.rs:272:39
[INFO] [stderr]     |
[INFO] [stderr] 272 |         let redirect_path = self.path.trim_left_matches('/').to_owned() + "/";
[INFO] [stderr]     |                                       ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches`
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stderr]   --> src/helpers.rs:74:93
[INFO] [stderr]    |
[INFO] [stderr] 74 |             return Err(UserError::new(format!("couldn't open {}: {}", filepath.display(), e.description())).into());
[INFO] [stderr]    |                                                                                             ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stderr]    --> src/helpers.rs:108:93
[INFO] [stderr]     |
[INFO] [stderr] 108 |             return Err(UserError::new(format!("couldn't open {}: {}", filepath.display(), e.description())).into()),
[INFO] [stderr]     |                                                                                             ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stderr]    --> src/app.rs:218:79
[INFO] [stderr]     |
[INFO] [stderr] 218 |         eprintln!("Error on {} [{}]: {}", request.path(), request.method(), e.description());
[INFO] [stderr]     |                                                                               ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stderr]   --> src/types.rs:61:54
[INFO] [stderr]    |
[INFO] [stderr] 61 |             PenHTTPError(ref err) => f.write_str(err.description()),
[INFO] [stderr]    |                                                      ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stderr]   --> src/types.rs:62:54
[INFO] [stderr]    |
[INFO] [stderr] 62 |             PenUserError(ref err) => f.write_str(err.description()),
[INFO] [stderr]    |                                                      ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stderr]   --> src/types.rs:70:42
[INFO] [stderr]    |
[INFO] [stderr] 70 |             PenHTTPError(ref err) => err.description(),
[INFO] [stderr]    |                                          ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stderr]   --> src/types.rs:71:42
[INFO] [stderr]    |
[INFO] [stderr] 71 |             PenUserError(ref err) => err.description(),
[INFO] [stderr]    |                                          ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `pen` (lib) generated 23 warnings
[INFO] [stderr] warning: `pen` (lib test) generated 23 warnings (23 duplicates)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.08s
[INFO] [stderr]      Running unittests (/opt/rustwide/target/debug/deps/pen-a109a1ad4cb2b7e0)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests pen
[INFO] [stderr] warning: unknown lint: `ptr_arg`
[INFO] [stderr]   --> /opt/rustwide/workdir/src/datastructures.rs:83:17
[INFO] [stderr]    |
[INFO] [stderr] 83 |         #[allow(ptr_arg)]
[INFO] [stderr]    |                 ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unknown_lints)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unknown lint: `ptr_arg`
[INFO] [stderr]   --> /opt/rustwide/workdir/src/datastructures.rs:83:17
[INFO] [stderr]    |
[INFO] [stderr] 83 |         #[allow(ptr_arg)]
[INFO] [stderr]    |                 ^^^^^^^
[INFO] [stderr] 
[INFO] [stdout] 
[INFO] [stderr] warning: 2 warnings emitted
[INFO] [stdout] running 0 tests
[INFO] [stderr] 
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "3b77208e2d1243c39556a0bd20b13d1c073fb98738685f953bd1afd584464eec", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3b77208e2d1243c39556a0bd20b13d1c073fb98738685f953bd1afd584464eec", kill_on_drop: false }`
[INFO] [stdout] 3b77208e2d1243c39556a0bd20b13d1c073fb98738685f953bd1afd584464eec
